package com.yuanhe.yunoj.judge.codeSandbox.strategy;

import com.yuanhe.yunoj.model.dto.questionsubmit.JudgeInfo;

/**
 * 判题策略(策略模式) 用于执行不同判题的逻辑
 */
public interface JudgeStrategy {
    /**
     * 执行判题
     *
     * @param judgeContext
     * @return
     */
    JudgeInfo dojudge(JudgeContext judgeContext);
}
